package com.sc.nft.service;

import com.sc.nft.enums.MallUserWalletDetailTypeEnum;

import java.math.BigDecimal;

/**
 * <p>
 * 商城用户钱包明细 服务类
 * </p>
 *
 * @author author
 * @since 2024-05-20
 */
public interface MallUserWalletDetailService {

    /**
     * 添加钱包明细
     *
     * @param mallUserWalletId
     * @param miniUserId
     * @param type
     * @param amount
     * @param charge
     * @param realAmount
     * @param beforeBalance
     * @param afterBalance
     * @param isAdd
     */
    Long addWalletDetail(Long mallUserWalletId, Long miniUserId, MallUserWalletDetailTypeEnum type, BigDecimal amount, BigDecimal charge, BigDecimal realAmount, BigDecimal beforeBalance, BigDecimal afterBalance, Boolean isAdd);
}
